package com.moli.iov.down.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moli.iov.down.model.dto.req.VehicleParamDto;
import com.moli.iov.down.model.po.VehicleParam;
import java.util.List;

/**
 * <p>
 * 车辆参数查询 服务类
 * </p>
 *
 * @author zql
 * @since 2018-12-20
 */
public interface IVehicleParamService extends IService<VehicleParam> {

    /**
     * 保存参数
     * @param vehicleParam
     */
    boolean saveVehicleParam(VehicleParam vehicleParam);

    /**
     * 修改参数
     * @param vehicleParam
     */
    boolean updateVehicleParam(VehicleParam vehicleParam);

    /**
     * 更新
     * @param vehicleParamDto
     * @return
     */
    boolean updateVehicleParam(VehicleParamDto vehicleParamDto);

    /**
     * 查询单个参数
     * @param vin
     * @return
     */
    VehicleParam getVehicleParamByVin(String vin);

    /**
     * 参数列表
     * @param vehicleParamDto
     * @return
     */
    List<VehicleParam> listVehicleParam(VehicleParamDto vehicleParamDto);
}
